﻿using BCCommon.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCDto.WeChatComponent.WeChatCustom
{
    /// <summary>
    /// 微信客服回复消息请求数据
    /// </summary>
    public class WeChatCustomMessageRequestDto
    {
        /// <summary>
        /// 回复的消息Id
        /// </summary>
        public long MessageId { get; set; }
        /// <summary>
        /// 接收者openId
        /// </summary>
        public string ToUserOpenid { get; set; }
        /// <summary>
        /// 消息类型
        /// </summary>
        public WeChatMessageType WeChatMessageType { get; set; }
        /// <summary>
        /// 素材Id
        /// </summary>
        public string MediaId { get; set; }
        /// <summary>
        /// 内容（仅文本消息时需要）
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 音频/视频缩略图素材Id
        /// </summary>
        public string ThumbMediaId { get; set; }
        /// <summary>
        /// 音乐地址
        /// </summary>
        public string MusicUrl { get; set; }
        /// <summary>
        /// 音乐高清地址
        /// </summary>
        public string HQMusicUrl { get; set; }
        /// <summary>
        /// 微信客服消息图文外链列表
        /// </summary>
        public List<WeChatCustomMessageArticlesRequestDto> Articles { get; set; }
    }
    /// <summary>
    /// 微信客服消息图文外链信息
    /// </summary>
    public class WeChatCustomMessageArticlesRequestDto
    {
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 介绍
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 图片路径
        /// </summary>
        public string Picurl { get; set; }
    }
}
